Skip to content

add names to test cases #1417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bratpiorka
Copy link
Contributor

@bratpiorka bratpiorka commented Jul 4, 2025

  • make providerCreateExt func common
  • cleanup includes order
  • add names to test cases

@bratpiorka bratpiorka force-pushed the rrudnick_test_names branch 3 times, most recently from ff1b773 to 56819a9 Compare July 7, 2025 07:57
Comment on lines 118 to 124
([](auto const &info) {
const char *names[] = {"UMF_COARSE_MEMORY_STRATEGY_FASTEST",
"UMF_COARSE_MEMORY_STRATEGY_FASTEST_BUT_ONE",
"UMF_COARSE_MEMORY_STRATEGY_CHECK_ALL_SIZE"};
return names[info.index];
}));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undefined behavior: I'm pretty sure that the automatic variable will be destroyed after the function return.
Please fix all occurrences.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to std::string

@bratpiorka bratpiorka force-pushed the rrudnick_test_names branch 7 times, most recently from d0a9cb1 to 3e20354 Compare July 14, 2025 13:42
@bratpiorka bratpiorka requested a review from lplewa July 14, 2025 13:43
@bratpiorka bratpiorka force-pushed the rrudnick_test_names branch from 3e20354 to f27926a Compare July 14, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants